<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

<title><%= goldberg_title %></title>

<!--meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="/goldberg/stylesheets/goldberg.css" 
  type="text/css" media="screen" />
<link rel="stylesheet" href="/goldberg/stylesheets/layout.css" 
  type="text/css" media="screen" />

<script type="text/javascript" src="/goldberg/javascripts/suckerfish.js"></script>

<%= javascript_include_tag :defaults %>

<% if defined?(RAILS_ROOT)
     if File.exists?("#{RAILS_ROOT}/public/stylesheets/ajax_scaffold.css") -%>
<%= stylesheet_link_tag 'ajax_scaffold', :media => 'all' %>
  <% end 
     if File.exists?("#{RAILS_ROOT}/public/javascripts/ajax_scaffold.js") -%>
<%= javascript_include_tag 'rico_corner', 'ajax_scaffold' %>
  <% end
  end -%>

</head>
<body>
<div id="header"><img alt="Logo" src="/goldberg/images/logo.jpg" />
<h1><%= Goldberg.settings.site_name %></h1>
<h3><%= Goldberg.settings.site_subtitle %></h3>
</div><!--//end #header//-->

<div class="centerColumn clearfix">

<div id="rightColumn"> 
<h3>Navigation</h3>
<div class="rightmenu">
<ul id="suckerfish">
  <%= goldberg_suckerfish_menu %>
</ul>
</div>
<div class="clearing"></div>

<h3>Authentication</h3>

<div class="auth">
  <%= goldberg_login %>
</div>

</div><!--//end #rightColumn//-->

<div class="breadcrumbs">
  <%= goldberg_breadcrumbs %>
</div>

<% if flash[:note] -%>
<div class="flash_note"><%= flash[:note] %></div>
<% elsif flash[:error] -%>
<div class="flash_error"><h1>Error!</h1><%= flash[:error] %></div>
<% end -%>

<%= yield %>

</div><!--//end #centerColumn//-->

<div id="footer"><%= Goldberg.settings.footer_message %></div><!--//end #footer//-->

</body>
</html>
